
<php>
$sid = I('sid',11,'intval');
$type_id = I('type_id',1,'intval');
</php>

<h1>标签用法Demo</h1>
<p>标签用法同volist，添加 _trace="1" 属性显示标签数据</p>


<h3>一键拨号</h3>
<tag:dial id="vo" _trace="1">
{$vo.name}/{$vo.tel}
</tag:dial>


<h3>一键导航</h3>
<tag:nav id="vo" _trace="1">
{$vo.name}/{$vo.address}
</tag:nav>
<hr>


<h3>轮播图</h3>
<tag:slide id="vo" _trace="1">

</tag:slide>
<hr>


<h3>文章栏目列表</h3>
<tag:category id="vo" _trace="1">
<li>{$vo.name}:{$vo.url}</li>
</tag:category>
<hr>

<h3>文章列表</h3>
<tag:article id="vo" cat="12" limit="" order="" _trace="1">

</tag:article>
<hr>

<php>
$sid = 8;
$cat_id = 5;
</php>

<hr>
<h3>商品扩展信息列表</h3>
<tag:productConfig id="vo" _trace="1">
</tag:productConfig>

<hr>
<h3>商品栏目列表</h3>
<tag:productCategory id="vo" _trace="1">
</tag:productCategory>

<hr>
<h3>商品列表</h3>
<tag:productGoods id="vo" _trace="1" order="id desc">
</tag:product>
